package org.platform.executor.knowledge;

import com.mc.mic.core.bus.provider.IMicProviderServiceExecutor;
import org.platform.mo.csmo.cmd10009.TestGroupQueryRequestParam;
import org.platform.mo.csmo.cmd10009.TestGroupQueryResponseParam;
import org.platform.service.knowledge.TestServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author FengJie
 * @date 2018/4/16
 */
@Service
public class GetTestGroupExecutor implements IMicProviderServiceExecutor<TestGroupQueryRequestParam, TestGroupQueryResponseParam> {
    @Autowired
    private TestServiceImpl service;

    @Override
    public TestGroupQueryResponseParam doExecute(TestGroupQueryRequestParam requestParam) {
        return service.getTestGroup(requestParam);
    }
}
